
// HomeScreen.js
import React from 'react';
import { View, Text, Button } from 'react-native-ui-lib';

function HomeScreen({ navigation }: any): JSX.Element {
    return (

        <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
            <Text>Home Screen</Text>
            <Button
                label="Go to Details" body bg-primaryColor square
                onPress={() => navigation.navigate('Details')}
            />
        </View>

    );
}
export default HomeScreen;